Kalman decomposition

#incomplete